/**
 *
 */
package cycling.taxi.com.utils;

import junit.framework.Test;

/**
 * 接口
 */
public class Urls {

    public final static String HTTP = "http://";

    public final static String HTTPS = "https://";

    //   public static final String HOST = "www.gldbs.cn"; // 域名
  //    public static final String HOST = "192.168.1.122:8080"; // 域名
    // public static final String HOST = "172.16.2.4:8080"; // 域名
    //   public static final String HOST = "192.168.43.220:8080"; // 域名（测试）
    public static final String HOST = "47.92.134.208:8080"; // 域名
    public static final String HOSTIMG = "47.92.134.208:8081"; // 图片服务器
    public static String APP_URL_DOMAIN = HTTP + HOST + "/CyclingBgTV1";

    //   ------ API 分类 ------   //
    private static String REGISTER_API = APP_URL_DOMAIN + "/appRegister/register.dop";//注册
    private static String LOGIN_API = APP_URL_DOMAIN + "/applogin/logincheck.dop";//登录
    private static String BIND_SB_API = APP_URL_DOMAIN + "/appBind/unbind.dop";//绑定设备
    private static String LOCATION_API = APP_URL_DOMAIN + "/appLocation/location.dop";//获取位置信息
    private static String UPDATA_PAW_API = APP_URL_DOMAIN + "/setPassword";//修改密码


    private static String TRAJECTORY_API = APP_URL_DOMAIN + "/appPosition/position.dop";//轨迹
    private static String TIPS_API = APP_URL_DOMAIN + "/appTips/tips.dop";//贴士
    private static String NOTICE_API = APP_URL_DOMAIN + "/appNotice/notice.dop";//消息
    private static String REPAIRBYSELF_API = APP_URL_DOMAIN + "/appRepairByself/repairByself.dop";//自主维修
    private static String REPAIRBYSELFITEM_API = APP_URL_DOMAIN + "/appRepairByself/repairByselfItem.dop";//自主维修
    private static String REPAIR_API = APP_URL_DOMAIN + "/appNotice/repair.dop";//报修
    private static String FEEDBACK_API = APP_URL_DOMAIN + "/appFeedback/feedback.dop";//反馈
    private static String BUSNESSNOTICE_API = APP_URL_DOMAIN + "/appBusinessNotice/businessNotice.dop";//通告
    private static String TRAJLIST_API = APP_URL_DOMAIN + "/appPosition/positionList.dop";//轨迹
    private static String UNBIND_SB_API = APP_URL_DOMAIN + "/appBind/bindstatus.dop";//绑定
    private static String Steal_API = APP_URL_DOMAIN + "/appSteal/steal.dop";//失窃
    private static String Fixdistance_API = APP_URL_DOMAIN + "/appFixLocation/fixLocation.dop";//测试
    private static String Test_API = APP_URL_DOMAIN + "/appRepairByself/r.dop";//维修点
    private static String GuoHu_API = APP_URL_DOMAIN + "/appGuohu/guohu.dop";//过户
    private static String Vadlidate_API = "https://dx.ipyy.net/smsJson.aspx?action=send&userid=&account=ddc&password=taxi123456&mobile=";//测试
    private static String Vadlidate_ContentAPI = "&content=您的验证码：";
    private static String VadlidateElse_API = "【塔西】&sendTime=&extno=";
    private static String TIPSITEMS_API = APP_URL_DOMAIN + "/appTips/tipsItem.dop";//贴士
    private static String WEEK_API = APP_URL_DOMAIN + "/appWeek/week.dop";//周信息
    private static String VALPHONE_API = APP_URL_DOMAIN + "/appChangePassword/existPhone.dop";//手机号是否存在
    private static String CHANGEPASSWORD_API = APP_URL_DOMAIN + "/appChangePassword/changePassword.dop";//修改密码
    private static String APPIMG_API = APP_URL_DOMAIN + "/appImageUrl/getImageUrl.dop";//获取图片URL
    private static String IMG_API = HTTP + HOSTIMG + "/images/";//加载图片

    public static void setHost(String host) {
        APP_URL_DOMAIN = HTTP + host + "";
    }

    public static final String getRegister() {
        return REGISTER_API;
    }

    public static final String getLogin() {
        return LOGIN_API;
    }

    public static final String getTips() {
        return TIPS_API;
    }

    public static final String getTipsItems() {
        return TIPSITEMS_API;
    }

    public static final String getLocation() {
        return LOCATION_API;
    }

    public static final String getBindFacility() {
        return BIND_SB_API;
    }

    public static final String getunBindFacility() {
        return UNBIND_SB_API;
    }

    public static final String updataPaw() {
        return UPDATA_PAW_API;
    }

    public static final String getTrajectory() {
        return TRAJECTORY_API;
    }

    public static final String getNotice() {
        return NOTICE_API;
    }

    public static final String getReparByself() {
        return REPAIRBYSELF_API;
    }

    public static final String getReparByselfItem() {
        return REPAIRBYSELFITEM_API;
    }

    public static String getRepair() {
        return REPAIR_API;
    }

    public static String getSteal() {
        return Steal_API;
    }

    public static String getFeedBack() {
        return FEEDBACK_API;
    }

    public static String getBusinessNotice() {
        return BUSNESSNOTICE_API;
    }

    public static String getTrajectoryList() {
        return TRAJLIST_API;
    }

    public static String getTest() {
        return Test_API;
    }

    public static String getGuoHu() {
        return GuoHu_API;
    }

    public static String getValidate() {
        return Vadlidate_API;
    }

    public static String getValidateContent() {
        return Vadlidate_ContentAPI;
    }

    public static String getValidateElse() {
        return VadlidateElse_API;
    }

    public static String getFixdistance() {
        return Fixdistance_API;
    }

    public static String getWeek() {
        return WEEK_API;
    }

    public static String getValPhone() {
        return VALPHONE_API;
    }

    public static String getChangePassWord() {
        return CHANGEPASSWORD_API;
    }

    public static String getAppImg() {
        return APPIMG_API;
    }

    public static String getImg() {
        return IMG_API;
    }

}